<!--<script>-->
    //应用数据
    var app_data = {
        info: {
            college:function(p,cfg){
                var p = arguments[0] || 'LIST';
                var college = {$college};
                if (p === 'STORE') {
                    var rows = Array();
                    for (var i = 0; i < college.length; i++) {
                        var row = Array();
                        row[0] = college[i].ico_id;
                        row[1] = college[i].ico_name;
                        rows.push(row);
                    }
                    return rows;
                } else if (p === 'LIST') {
                    return college;
                } 
            },
           discipline:function(p,cfg){
                var p = arguments[0] || 'LIST';
                var discipline = {$discipline};
                if (p === 'STORE') {
                    var rows = Array();
                    for (var i = 0; i < discipline.length; i++) {
                        var row = Array();
                        row[0] = discipline[i].id_id;
                        row[1] = discipline[i].id_name;
                        rows.push(row);
                    }
                    return rows;
                } else if (p === 'LIST') {
                    return discipline;
                } 
            },
             teacher:function(p,cfg){
                var p = arguments[0] || 'LIST';
                var teacher = {$teacher};
                if (p === 'STORE') {
                    var rows = Array();
                    for (var i = 0; i < teacher.length; i++) {
                        var row = Array();
                        row[0] = teacher[i].id;
                        row[1] = teacher[i].nickname;
                        rows.push(row);
                    }
                    return rows;
                } else if (p === 'LIST') {
                    return teacher;
                } 
            },
            classinfo:function(p,cfg){
                var p = arguments[0] || 'LIST';
                var classinfo = {$classinfo};
                if (p === 'STORE') {
                    var rows = Array();
                    for (var i = 0; i < classinfo.length; i++) {
                        var row = Array();
                        row[0] = classinfo[i].icl_id;
                        row[1] = classinfo[i].icl_number;
                        rows.push(row);
                    }
                    return rows;
                }else if(p ==='LIST'){
                   return classinfo;
                }
            }
        }
    };
<!--</script>-->